<%@ page contentType="text/html;charset=UTF-8" %>

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Sample title</title>
    <meta name="layout" content="main" />
  </head>
  <body>
      <div id="pageBody">
          <h1>Search Products</h1>

          ${flash.message}

          <br/><br/>
          
              <g:form name="searchForm" action="searchProductsSubmit">
          <table>
              <tr>
                <td>Product Type</td>
                <td><input type="text" name="productType"/></td>
              </tr>
              <tr>
                <td>Wine Type</td>
                <td><input type="text" name="wineType"/></td>
              </tr>
              <tr>
                <td>Wine Varietal</td>
                <td><input type="text" name="wineVarietal"/></td>
              </tr>
              <tr>
                <td>Wine Region</td>
                <td><input type="text" name="wineRegion"/></td>
              </tr>
          </table>
          
          <input type="submit"/>
</g:form>
      </div>
  </body>
</html>